]> dgit.raspbian.org Git - gnome-shell.git/commit
authPrompt: Don't focus hidden cancelButton
authorFlorian Müllner <fmuellner@gnome.org>
Wed, 19 Feb 2020 16:32:22 +0000 (17:32 +0100)
committerFlorian Müllner <florian.muellner@gmail.com>
Mon, 24 Feb 2020 12:29:44 +0000 (12:29 +0000)
commitab24ee7a7e0177b8780f40252784a75ff7db977f
treed3fa3a95db43360f8d1250e20ce65776081da775
parentc52fd9373ca10ea94713e2766b101adcf384d198
authPrompt: Don't focus hidden cancelButton

The button is hidden on the lock screen, so it shouldn't be allowed to
activate it, be it via click or keyboard. The latter is still possible
by keynaving to the button and hitting space/enter. Fix that by making
the button unfocusable when we make it unreactive.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/2210
js/gdm/authPrompt.js